package cn.iocoder.yudao.module.erp.controller.admin.deppurchaseitem.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Schema(description = "管理后台 - ERP 科室采购申请项新增/修改 Request VO")
@Data
public class DepPurchaseItemSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "30527")
    private Long id;

    @Schema(description = "科室采购订单编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "28919")
    private Long orderId;

    @Schema(description = "供应商编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "22747")
    private Long supplierId;

    @Schema(description = "产品编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "9287")
    private Long productId;

    @Schema(description = "产品单位", requiredMode = Schema.RequiredMode.REQUIRED)
    private String productUnit;

    @Schema(description = "产品单位")
    private Long productUnitId;

    @Schema(description = "产品单位")
    private String productUnitName;

    @Schema(description = "产品规格", requiredMode = Schema.RequiredMode.REQUIRED)
    private String productStandards;

    @Schema(description = "产品单价", requiredMode = Schema.RequiredMode.REQUIRED, example = "32549")
    private BigDecimal productPrice;

    @Schema(description = "数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "26793")
    private BigDecimal count;
    @Schema(description = "数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "26793")
    private BigDecimal num;
    @Schema(description = "数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "26793")
    private BigDecimal nums;
    @Schema(description = "数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "26793")
    private BigDecimal countActual;

    @Schema(description = "总价", requiredMode = Schema.RequiredMode.REQUIRED, example = "15985")
    private BigDecimal totalPrice;

    @Schema(description = "备注", example = "随便")
    private String remark;

    @Schema(description = "产品名称", example = "张三")
    private String productName;

    private List<DepPurchaseItemRespVO> list;

    @Schema(description = "部门编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "30527")
    private Long deptId;

    @Schema(description = "供应商科室编号")
    private Long supplierDeptId;

    @Schema(description = "状态")
    private Long status;

    @Schema(description = "退回原因", example = "张三")
    private String returnReason;
}